package cn.krui.project;

import java.util.ArrayList;
import java.util.List;
import org.springframework.stereotype.Component;
import cn.krui.helper.filter.ITokenFilterSetting;

/**
 * createor: zc
 * email: zc8023zs@163.com
 * create_time: 2020/4/8 16:37:48
 * 1、排除的url> 2、只验证token的url> 3、验证权限的url
 */
@Component
public class tokenFilterSettingsimpleshopsetting implements ITokenFilterSetting {

/**
 * 排除的url
 */
    @Override
    public List<String> EXCEPTION_URI() {
        List<String> list = new ArrayList<>();
        list.add("/");
        list.add("/favicon.ico");
        list.add("*/simpleshopsetting/actuator/*");
        list.add("*/swagger-ui.html*");
        list.add("*/v2/api-docs");
        list.add("*/swagger-resources*");
        list.add("*/webjars/*");
        list.add("*/simpleshopsetting/system_check/*");
        return list;
    }

/**
 * 只验证token的地址
 */
    @Override
    public List<String> EXCEPTION_TOKEN_URI() {
        List<String> list = new ArrayList<>();

        return list;
    }
    
}